import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const requireAuth = true
const showLayout = true
export default [
    {
        path: '/activity',
        name: 'activity',
        component: () =>
          import(/* webpackChunkName: "activity" */ '../../views/Activity/Activity.vue'),
    
        meta: {requireAuth, showLayout}
      },
    {
        path: '/addActivity',
        name: 'addActivity',
        component: () =>
          import(/* webpackChunkName: "activity" */ '../../views/Activity/addActivity.vue'),
        meta: {requireAuth, showLayout, activeName: 'activity'}
      },
      {
        path: '/viewActivity',
        name: 'viewActivity',
        component: () =>
          import(/* webpackChunkName: "activity" */ '../../views/Activity/viewActivity.vue'),
        meta: {requireAuth, showLayout, activeName: 'activity'}
      },
      {
        path: '/write',
        name: 'write',
        component: () =>
          import(/* webpackChunkName: "activity" */ '../../views/Activity/write.vue'),
        meta: {requireAuth, showLayout}
      },
    ]